package com.hundredapp.oa.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * OaService entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "oa_service", catalog = "oa_demo")
public class OaService implements java.io.Serializable {

	// Fields

	private Integer id;
	private String serviceText;
	private String managerName;

	// Constructors

	/** default constructor */
	public OaService() {
	}

	/** full constructor */
	public OaService(String serviceText, String managerName) {
		this.serviceText = serviceText;
		this.managerName = managerName;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "service_text", length = 45)
	public String getServiceText() {
		return this.serviceText;
	}

	public void setServiceText(String serviceText) {
		this.serviceText = serviceText;
	}

	@Column(name = "manager_name", length = 45)
	public String getManagerName() {
		return this.managerName;
	}

	public void setManagerName(String managerName) {
		this.managerName = managerName;
	}

}